<!DOCTYPE html>
<html ng-app="MobileAngularUiExamples">
<head>
    <meta charset="utf-8" />
    <title>Mobile Angular UI Examples</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="yes" />
    <link rel="stylesheet" href="libs/angularjs/css/mobile-angular-ui-hover.min.css" />
    <link rel="stylesheet" href="libs/angularjs/css/mobile-angular-ui-base.min.css" />
    <link rel="stylesheet" href="libs/angularjs/css/mobile-angular-ui-desktop.min.css" />
    <link rel="stylesheet" href="css/main.css" />
    <script type="text/javascript" charset="utf-8" src="js/cordova.js"></script>
    <script src="libs/angularjs/js/angular.min.js"></script>
    <script src="libs/angularjs/js/angular-route.min.js"></script>
    <script src="libs/angularjs/js/angular-touch.min.js"></script>
    <script src="libs/angularjs/js/mobile-angular-ui.min.js"></script>
    <script src="js/main.js"></script>
    <script>
//        loginState=false;
//        if(!loginState) {
//            location.href='/#/login';
//        }
    </script>
</head>
<body ng-controller="MainController">

<!-- Sidebars -->

<div class="app" style="background-color: white;">

    <!-- Navbars -->



    <div class="navbar navbar-app navbar-absolute-bottom">
        <div class="btn-group justified">
            <a href="#/camera" class="btn btn-navbar"><i class="fa fa-home fa-navbar"></i> 拍攝</a>
            <a href="#/photoGallery" class="btn btn-navbar"><i class="fa fa-github fa-navbar"></i>上傳</a>
            <a href="#/setting" class="btn btn-navbar"><i class="fa fa-exclamation-circle fa-navbar"></i>設定</a>
            <a href="#/login" class="btn btn-navbar"><i class="fa fa-exclamation-circle fa-navbar"></i>登入</a>
        </div>
    </div>

    <!-- App Body -->
    <div class="app-body" ng-class="{loading: loading}">
        <div ng-show="loading" class="app-content-loading">
            <i class="fa fa-spinner fa-spin loading-spinner"></i>
        </div>

        <ng-view class="app-content" ng-hide="loading"></ng-view>
    </div>

</div><!-- ~ .app -->

</body>
</html>
